package com.busines.dao.xunting;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.busines.pojo.xunting.TSchool;
import com.busines.pojo.xunting.TSchoolQuery;

public interface ITSchoolDao {
    int countByExample(TSchoolQuery example);

    int deleteByExample(TSchoolQuery example);

    int deleteByPrimaryKey(Integer no);

    int insert(TSchool record);

    int insertSelective(TSchool record);

    List<TSchool> selectByExample(TSchoolQuery example);

    TSchool selectByPrimaryKey(Integer no);

    int updateByExampleSelective(@Param("record") TSchool record, @Param("example") TSchoolQuery example);

    int updateByExample(@Param("record") TSchool record, @Param("example") TSchoolQuery example);

    int updateByPrimaryKeySelective(TSchool record);

    int updateByPrimaryKey(TSchool record);
    
    List<TSchool> queryInformation();
    
    TSchool queryInformation(Integer no);
}